import fetch from 'utils/fetch';
// 未拨打和拨打记录近期数据
export function recentData(obj) {
    return fetch({
        url: 'api/admin/sales/recentData',
        method: 'get',
        params: obj
    });
}
// 未拨打和拨打记录分页
export function dialPage(obj) {
    return fetch({
        url: 'api/admin/sales/dialPage',
        method: 'get',
        params: obj
    });
}
// 修改接通状态
export function modifyElectricPinStatus(obj) {
    return fetch({
        url: 'api/admin/sales/modifyElectricPinStatus',
        method: 'post',
        data: obj
    });
}
// 历史记录
export function callHistoryRecords(obj) {
    return fetch({
        url: 'api/admin/sales/callHistoryRecords',
        method: 'get',
        params: obj
    });
}
// 意向等级
export function getDict() {
    return fetch({
      url: '/api/admin/loanCommon/getDict?code=LOAN_TEL_DESIRE_LEVEL',
      method: 'get'
    })
  }
